﻿using Abp.Auditing;
using Abp.Authorization.Users;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ALEXFW.Login.Dto
{
    public class AccountDto
    {
        [Required]
        [StringLength(AbpUserBase.MaxEmailAddressLength)]
        [DisplayName("用户名或邮箱")]
        public string UserNameOrEmailAddress { get; set; }

        [Required]
        [StringLength(AbpUserBase.MaxPlainPasswordLength)]
        [DisableAuditing]
        [DisplayName("密码")]
        public string Password { get; set; }

        public bool RememberClient { get; set; }
    }
}
